// 入口文件

import Vue from "vue"

//导入mui.css
import "./lib/mui/css/mui.min.css"
import "./lib/mui/css/icons-extra.css"
// 1. 导入 vue-router 包
import VueRouter from "vue-router"
// 2. 手动安装 VueRouter
Vue.use(VueRouter);

import app from "./App.vue"

import { Header,Swipe, SwipeItem } from 'mint-ui';

Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
//导入路由模块
import router from "./router"

//导入vue-resource
import vueResource from "vue-resource"

Vue.use(vueResource);

let vm = new Vue({
    el:"#app",
    render:(c)=>c(app),
    router
});